package com.jy.oms.framework.util;

/**
 * util
 *
 * @author liuquan
 */
public final class NetworkUtil {
    private static String localIP;

    public static String getLocalhostStr() {
        if (localIP == null) {
            localIP = cn.hutool.core.net.NetUtil.getLocalhostStr();
        }

        return localIP;
    }
}
